package com.xw.childhealth.dao;

import com.xw.childhealth.entity.ChildrenDxzsk;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Description:
 * @Author: y
 * @CreateDate: 2019-11-14 14:48
 * @Version: 1.0
 */
public interface ChildrenDxzskDao extends JpaRepository<ChildrenDxzsk, Integer> {

    List<ChildrenDxzsk> findByParentIdEquals(Integer id);

    ChildrenDxzsk findByIdEquals(Integer id);
}
